ConvertToBlocks\Plugin A

Total Complexity 53
Dependencies 10
Dependents 5
Total lines 395
Lines of code 178
Logical lines of code 98
Comment lines 143
Methods 22
Properties 5

Methods 22

Method Rating Maintainability Complexity Lines of code
is_classic_editor_context()
S
59 5 17
is_classic_post_referer()
S
59 5 13
is_post_list_context()
S
61 4 14
post_type_supports_convert_to_blocks()
S
63 4 10
get_current_post()
S
65 4 9
is_block_editor_post()
S
62 3 12
register()
S
67 3 8
is_classic_referer()
S
66 3 7
post_supports_convert_to_blocks()
S
63 2 11
get_instance()
S
71 2 6
enable()
S
65 2 9
register_objects()
S
74 2 5
is_wp_cli()
S
79 2 3
has_classic_param()
S
71 2 5
get_current_screen()
S
72 2 6
get_post_type_capability()
S
65 2 9
init_admin()
S
64 1 12
init()
S
70 1 8
init_commands()
S
79 1 3
init_locale()
S
70 1 5
is_classic_editor_post()
S
80 1 3
get_default_post_types()
S
78 1 3